//
//  MCGlobelConst.m
//  TLYL
//
//  Created by miaocai on 2017/6/1.
//  Copyright © 2017年 TLYL01. All rights reserved.
//

#import "MCGlobelConst.h"

NSNotificationName const HomePageDidLoadDefaultCatergeryListNSNotification = @"HomePageDidLoadDefaultCatergeryListNSNotification";
NSNotificationName const PickViewControllerChangeFooterHeightNSNotification = @"PickViewControllerChangeFooterHeightNSNotification";
NSNotificationName const PickViewControllerBallStatusChangedNSNotification = @"PickViewControllerBallStatusChangedNSNotification";
NSNotificationName const PickViewControllerDanShiTextFieldEdtingNotification = @"PickViewControllerDanShiTextFieldEdtingNotification";
NSNotificationName const PickViewCellBallClickedNotification = @"PickViewCellBallClickedNotification";
NSNotificationName const PickBaseViewControllerChangeErJiNotification = @"PickBaseViewControllerChangeErJiNotification";
NSNotificationName const MainNavigationGameRecordClickedNotification = @"MainNavigationGameRecordClickedNotification";
NSNotificationName const NetworkIsReachabilityNotification = @"NetworkIsReachabilityNotification";

NSString *tabbarThdSelected = @"";
NSString *xianluaddr = @"";
@implementation MCGlobelConst
+ (NSArray *)serverBaseURL{
    NSArray *arr = @[
                     @"https://mbappzxurlxl1.zzxx7.com/",
                     @"https://mbappzxurlxl2.zzxx9.com/",
                     @"https://mbappzxurlxl3.zzxx9.com/",
                     @"https://mbappzxurlxl6.zzxx7.com/"
                     ];
#ifdef DEBUG //开发环境
 
#elif BETA //预发环境
    arr = @[
             @"https://ceshitestxlweburlxl.zzxx9.com/",
             @"https://ceshitestxlmobileurlxl.zzxx9.com/"
          ];
#else //正式环境
   
#endif
    
    if ([testApi isEqualToString:@"testApi"]) {
        NSMutableArray *arrM = [NSMutableArray arrayWithArray:arr];
        
        [arrM insertObject:@"http://026api.mc.corp/" atIndex:0];
        return arrM;
    } else {
        return arr;
    }
}
@end
